﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class BlacksmithNPC : NPC
    {
        private string item;
        
        public string Item { get; set; }

        public BlacksmithNPC(string item,DW dW,string name):base(name,dW) 
        {
            this.item = item;
        }
        public override void Hello()
        {
            Console.WriteLine("铁匠NPC{0},有{1}，你要吗",base.Name,this.item); ;
        }
    }
}
